import { Injectable } from "@angular/core";

// deprecated

/**
 * 用于传递组件实例
 *
 * @export
 * @class CptService
 */
@Injectable({
  providedIn: "root"
})
export class CptService {
  cptIns = null;

  constructor() {}

  set(v: any) {
    this.cptIns = v;
  }

  get() {
    return this.cptIns;
  }
}
